package com.ocom.payhandle.service;

import com.ocom.common.entity.card.EntityXfRecord;
import com.ocom.common.entity.card.EntityXfRecordProcessExxx;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.pyhandle.UserOrdersQueryVo;
import icu.mhb.mybatisplus.plugln.base.service.JoinIService;

import java.util.Date;
import java.util.List;

public interface XfRecordProcessExxxService extends JoinIService<EntityXfRecordProcessExxx> {

    public Result timesManJian(Long companyId, EntityXfRecord entityXfRecord);

    public Result times(Long companyId, EntityXfRecord entityXfRecord);

    public Result xfUserparam(Long companyId, EntityXfRecord entityXfRecord);

    public List<EntityXfRecordProcessExxx> getRefunding(Long companyId);

    List<EntityXfRecordProcessExxx> getUserOrders(Long companyId, UserOrdersQueryVo queryVo);



    //重写缓存表查询
    EntityXfRecordProcessExxx selectTradeNo(Long companyId, String tradeNo, String machNo);
    EntityXfRecordProcessExxx selectTradeNo(Long companyId, Long id);


    //厦门分院需求
    public int getUserPartCityCount(Long companyId, Date mealDate, Long pId);
    //获取已经退款的金额
    List<EntityXfRecordProcessExxx> selectRefundRecodes(Long companyId,String tradeNo);

}
